<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>My class system by may lee</title>
<link href="template/default.css" rel="stylesheet" type="text/css" />
<script src="template/scripts/default.js" type="text/javascript"></script>
<script src="template/scripts/jquery_1.3.2.js" type="text/javascript"></script>
<!--<script src="template/scripts/swfobject.js" type="text/javascript"></script>-->
<script type="text/javascript" src="template/scripts/highcharts.js"></script>
<link type="text/css" href="template/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="template/scripts/ui.core.js"></script>
<script type="text/javascript" src="template/scripts/ui.dialog.js"></script>
<script type="text/javascript" src="template/scripts/jquery.cookie.js"></script>
<script type="text/javascript" src="template/scripts/ui.datepicker.js"></script>
<!--[if IE]>
	<script type="text/javascript" src="template/scripts/excanvas.compiled.js"></script>
<![endif]-->
<script type="text/javascript">
$(document).ready(function(){
						   
						   		var cookiestring=$.cookie('myClassPost_student');
							   if(cookiestring!=null)
							   {
								   var index=cookiestring.indexOf('|');
								   var studentNumber=cookiestring.substring(0,index);
								   var studentName=cookiestring.substring(index+1,cookiestring.length)
								   autologin(studentName,studentNumber)
							   }
						   })
//$.ajax({
//            type: 'Post',
//            url: '/report_gen_fromStudentNumberANDCourse',
//            data: "courseName="+1+"&studentNumber="+1,
//			dataType:"json",
//            success: function(response) {
//				var dataArray=new Array();
//				$(response).each(function(i)
//							{
//								debugger;
//								dataArray.push(parseInt(this));
//							})
//                HightChartgenerate(dataArray)
//            }
//        })


</script>
<style type="text/css">
.testshow{border:dashed; border-color:#FF0000; border-width:medium;}
.widthfull{ width:100%px}
.hideA{display:none}
.hideDiv{display:none}
.hiddenTd{display:none}
.colorTr{background-color:#cde5e5}
</style>
</head>
<body>
<div id="logo">
  <h1><a href="#">系统名称</a></h1>
  <h2><a href="http://www.freecsstemplates.org/">系统标题</a></h2>
</div>
<div id="content">
  <div id="sidebar">
    <div id="menu">
      <ul id="leftmenu">
        <li id="myhomepageLI" class="active"><a style="cursor:pointer" title="" onclick="javascript:myhomepage_clicked(this)">班级主页</a></li>
        <li id="datareportLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:datareport_clicked(this)">课程分析</a></li>
        <li id="datareport_examLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:datareport_exam_clicked(this)">考试分析</a></li>
        <li id="addrecordLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:addrecord_clicked(this)">录入成绩</a></li>
        <li id="mngrecordLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:mngrecord_clicked(this)">管理成绩</a></li>
        <li id="addexamLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:addexam_clicked(this)">添加考试</a></li>
        <li id="mngexamLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:mngexam_clicked(this)">管理考试</a></li>
        <li id="addstudentLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:addstudent_clicked(this)">添加用户</a></li>
        <li id="mngstudentLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:mngstudent_clicked(this)">管理用户</a></li>
        <li id="mngclassLI" style="display:none"><a style="cursor:pointer" title="" onclick="javascript:mngclass_clicked(this)">管理班级</a></li>
      </ul>
    </div>
    <div id="login" class="boxed" style="display:blocked">
      <h2 class="title">用户登陆</h2>
      <div class="content" id="div_login">
        <div id="stuGroup">
          <div>用户学号:</div>
          <input id="userName" type="text" name="inputtext1" value="" style="width:60px"/>
          <div>用户密码:</div>
          <input id="passWord" type="password" name="inputtext2" value="" style="width:60px"/>
          <input id="login_button" type="button" style="cursor:pointer " value="登陆" onclick="javascript:login()"/>
        </div>
        <br/>
        <a style="cursor:pointer">忘记密码了？</a> <a style="cursor:pointer">管理员登录</a>
        <input id="admin_check" type="checkbox" onclick="javascript:checkbox_admin_clicked(this)"/>
        <div id="adminGroup" class="hide">
          <input id="adminPassWord" type="password" value="" style="width:60px"/>
          <input id="adminLogin_button" type="button" style="cursor:pointer " value="登陆" onclick="javascript:adminlogin()"/>
          <br/>
        </div>
        <div id="login_message" style="color:#FF6699"></div>
      </div>
      <div class="content" id="div_logout" style="display:none">
        <div>用户学号: <a id="show_number"></a></div>
        <div>用户姓名: <a id="show_name"></a></div>
        <div style="cursor:pointer; width:55px" onclick="javascript:logout()">退出登录</div>
      </div>
    </div>
    <div id="updates" class="boxed">
      <h2 class="title">班级公告栏</h2>
      <div class="content">
        <ul>
          <li>
            <h3>March 5, 2007</h3>
            <p>新闻1</p>
          </li>
          <li>
            <h3>March 3, 2007</h3>
            <p>新闻2</p>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <div id="main">
    <div id="loading" style="display:none" align="center"><img src="template/images/loading.gif" /></div>
    <div id="welcome" >
      <div id="news_post" class="post">
        <h2 class="title">班级信息系统上线了!</h2>
        <h3 class="date"><span class="month">Oct.</span> <span class="day">8</span><span class="year">, 2009</span></h3>
        <div class="meta">
          <p>作者：李梅</p>
        </div>
        <div class="story">
          <p>为了方便同学们查询自己成绩，以及参照班级平均成绩等需求，我们定制开发了这个班级信息系统。</p>
        </div>
      </div>
      <div id="news_post" class="post">
        <h2 class="title">公布了物理第4周周考成绩!</h2>
        <h3 class="date"><span class="month">Oct.</span> <span class="day">8</span><span class="year">, 2009</span></h3>
        <div class="meta">
          <p>作者：李梅</p>
        </div>
        <div class="story">
          <p>可以查到自己的成绩了</p>
        </div>
      </div>
    </div>
    <div id="record" class="post"> </div>
  </div>
  <div id="extra" style="clear: both;"></div>
</div>
<div id="footer">
  <p id="legal">上海市北郊高级中学</p>
</div>
<select id="Global_Share_Dictionary" style="display:none">
  <option value="yuwen">语文</option>
  <option value="shuxue">数学</option>
  <option value="yingyu">英语</option>
  <option value="wuli">物理</option>
  <option value="huaxue">化学</option>
  <option value="lishi">历史</option>
  <option value="dili">地理</option>
  <option value="shengwu">生物</option>
  <option value="zhengzhi">政治</option>
  <option value="qita">其他</option>
  <option value="all">全部</option>
</select>
</body>
</html>
